<!DOCTYPE html>
<body>

<select id="multiselect" multiple="multiple">
    <option>make-the-item-long-enough-to-make-a-difference-in-pixel-test</option>
    <option>b</option>
</select>

<script>
if (window.testRunner) {
    testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
    testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1);
}

var multiselect = document.getElementById('multiselect');

if (window.eventSender) {
    eventSender.mouseMoveTo(multiselect.offsetLeft + 5, multiselect.offsetTop + 5);
    eventSender.mouseDown();
    eventSender.mouseUp();
} else {
    document.write("To manually test, click on the 'a' option and no focus ring on the selected item should be seen.");
}
</script>
</body>
</html>
